

#ifndef KEYBOARD_H
#define KEYBOARD_H

#define SEND_TO_RECEIVER_EVENT 0x0200

#define PROFILE_ID                     0x0F10
#define ENDPOINT_ID                    0x02

#define DEV_END_ID  1
#define DEV_END_VER  0

#define CMD_IN    1
#define CMD_OUT   2

void StartConfirm(uint8 status);
void SendDataConfirm( uint8 handle, uint8 status );
void BindConfirm( uint16 commandId, uint8 status );
void ReceiveDataIndication( uint16 source, uint16 command, uint16 len, uint8 *pData);

void Keyboard_Task_Init( byte task_id );
uint16 Keyboard_ProcessEvent( byte task_id, uint16 events );


#endif